package adv410;

import java.io.Serializable;

/**
 * @author oldliu
 * @since 1.0
 */
public class Student implements Serializable {
    private String name;
    private String qq;
    private String telephone;
    private int age;
    private String sex;
    private String goodat;
    public Student(){

    }

    public Student(String name, String qq, String telephone, int age, String sex, String goodat) {
        this.name = name;
        this.qq = qq;
        this.telephone = telephone;
        this.age = age;
        this.sex = sex;
        this.goodat = goodat;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getGoodat() {
        return goodat;
    }

    public void setGoodat(String goodat) {
        this.goodat = goodat;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", qq='" + qq + '\'' +
                ", telephone='" + telephone + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", goodat='" + goodat + '\'' +
                '}';
    }
}
